/*
 * @Description: ------------ fileDescription -----------
 * @Author: snows_l snows_l@163.com
 * @Date: 2024-12-22 17:17:56
 * @LastEditors: snows_l snows_l@163.com
 * @LastEditTime: 2024-12-22 17:48:58
 * @FilePath: /webseteUI/WebsiteUI/src/api/projectConfig.js
 */
import request from '@/utils/request';

// 获取BLOG项目配置
export function getBlogProjectConfig() {
  return request({
    url: '/config/blog/info',
    method: 'get'
  });
}

// 修改BLOG项目配置
export function updateBlogProjectConfig(data) {
  return request({
    url: '/config/blog/update',
    method: 'post',
    data
  });
}

// 获取bs项目配置
export function getBSProjectConfig() {
  return request({
    url: '/config/bs/info',
    method: 'get'
  });
}

// 修改bs项目配置
export function updateBSProjectConfig(data) {
  return request({
    url: '/config/bs/update',
    method: 'post',
    data
  });
}
